<?php
function pre($val, $option = null)
{
	$debug_backtrace = debug_backtrace();

	echo "<pre>";
	if(is_null($option) or $option != 'dump') {
		print_r($val);
	} else {
		var_dump($val);
	}
	echo "</pre>";
}
?>
